package com.ls.lserp.modules.job.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.ls.lserp.common.persistence.DataEntity;

public class MaterialAlertEntity extends DataEntity<MaterialAlertEntity> {

	/**
	 * 数据库更新版本号
	 */
	private static final long serialVersionUID = 1L;
	
	private List<MaterialAlertEntity> materialList;
	
	// 原辅料预警ID
	private long alertId;
	// 原辅料ID
	private long materialId;
	// 材料最少采购数量
	private BigDecimal materialLeastQuantity;
	// 创建日期
	private Date createDate;
	// 创建者
	private String createUser;
	// 备注
	private String remarks;
	// 状态
	private String materialStatus;

	
	/**
	 * @return the materialLeastQuantity
	 */
	public BigDecimal getMaterialLeastQuantity() {
		return materialLeastQuantity;
	}

	/**
	 * @param materialLeastQuantity the materialLeastQuantity to set
	 */
	public void setMaterialLeastQuantity(BigDecimal materialLeastQuantity) {
		this.materialLeastQuantity = materialLeastQuantity;
	}

	/**
	 * @return the materialStatus
	 */
	public String getMaterialStatus() {
		return materialStatus;
	}

	/**
	 * @param materialStatus the materialStatus to set
	 */
	public void setMaterialStatus(String materialStatus) {
		this.materialStatus = materialStatus;
	}

	public long getAlertId() {
		return alertId;
	}

	public void setAlertId(long alertId) {
		this.alertId = alertId;
	}

	public long getMaterialId() {
		return materialId;
	}

	public void setMaterialId(long materialId) {
		this.materialId = materialId;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public List<MaterialAlertEntity> getMaterialList() {
		return materialList;
	}

	public void setMaterialList(List<MaterialAlertEntity> materialList) {
		this.materialList = materialList;
	}

}
